//
// Created by 王乐 on 2022/2/17.
//

#ifndef LESTE_LEPOSTPROCESSINGRENDERER_H
#define LESTE_LEPOSTPROCESSINGRENDERER_H

#include "LeRenderer.h"

class LePostProcessingRenderer : public LeRenderer
{
public:
    LePostProcessingRenderer();

    virtual ~LePostProcessingRenderer();

public:

    void preLoopRender() override;

    void postprocessingSetup() override;

    void render() override;

    void postprocessingRender() override;

    void postLoopRender() override;

private:
    unsigned int framebuffer;
    unsigned int textureColorbuffer;
    unsigned int rbo;

    float dExposure = 1.0f;
};


#endif //LESTE_LEPOSTPROCESSINGRENDERER_H
